//******************************************************************************
// @File: cyzPrimaryGeneratorAction.hh
// @Author: Cyz
// @Date: 2020年 5月 1日 星期五 20时58分37秒 CST
// @Description: 
//		Definition of the cyzPrimaryGeneratorAction class
//		Using GPS, generate a gamma source corresponding to Cs-137
//******************************************************************************

#ifndef cyzPrimaryGeneratorAction_h
#define cyzPrimaryGeneratorAction_h 1

#include "G4VUserPrimaryGeneratorAction.hh"
#include "G4GeneralParticleSource.hh"
#include "globals.hh"

class G4GeneralParticleSource;
class G4Event;
class G4Box;

/// The primary generator action class with GeneratePrimaries.
///
/// The define of particles informations was required in micro
/// command.

class cyzPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
  public:
    cyzPrimaryGeneratorAction();    
    virtual ~cyzPrimaryGeneratorAction();

    // method from the base class
    virtual void GeneratePrimaries(G4Event*);         
  
    // method to access GeneratePrimaries
		// Didn't create
  
  private:
    G4GeneralParticleSource*  gps; // pointer a GeneralParticleSource
};

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

#endif
